Fix gtk_text_iter_forward_to_tag_toggle() for end iter
authorSébastien Wilmet <swilmet@gnome.org>
Wed, 3 Apr 2013 11:41:44 +0000 (13:41 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Thu, 20 Jun 2013 18:22:56 +0000 (20:22 +0200)
commit08d49fdd5821e18d9946ad975b04f233b22cfdd7
treeb99d4688bf56196873e3c3188c2093a0623a603d
parent555e0a785d84e6f39f3d6b467caafbe262296c7c
Fix gtk_text_iter_forward_to_tag_toggle() for end iter

The function must return TRUE only if there is a tag toggle _after_ the
iter, not _at_ the iter. So for the end iter, the function must always
return FALSE.

Add also unit tests for gtk_text_iter_forward_to_tag_toggle().

https://bugzilla.gnome.org/show_bug.cgi?id=691266
gtk/gtktextiter.c
testsuite/gtk/textiter.c